import {Player} from "./Player";
import {ChatMessageType} from "../../Constants";

export interface IGameScene{
     /**
     * 玩家进入接口
     * @param {number} localSeat
     * @param {Player} player
     */
     onPlayerEnter(localSeat:number,player:Player);

     /**
     * 玩家状态变化接口
     * @param {number} localSeat
     * @param {Player} player
     */
     onPlayerStatus(localSeat:number,player:Player);

     /**
     * 玩家钻石、金币道具等变化接口
     * @param {number} localSeat
     * @param {Player} player
     */
     onPlayerGameData(localSeat:number,player:Player);

     /**
     * 玩家离开
     * @param {number} localSeat
     * @param {Player} player
     */
     onPlayerLeave(localSeat:number,player:Player);

     /**
     * 离开房间
     */
     onLeaveRoom();

     /**
     * 聊天接口
     * @param {number} localSeat
     * @param {ChatMessageType} type
     * @param {string} content
     */
     onChat(localSeat:number,type:ChatMessageType,content:string);

     /**
     * 桌子信息更新
     */
     onGameInfo();

     /**
     * 游戏状态变化
     */
     onGameStatusChanged();

     /**
     * 游戏逻辑消息
     * @param e
     */
     onReceiveMessage(e);
}